package com.shenghui.enterprise.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 角色用户关系 实体类信息
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-06-01
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
public class BaseRoleUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("role_user_id")
    private String roleUserId;

    /**
     * 角色ID 
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;

    /**
     * 排序值
     */
    @TableField("order_value")
    private Integer orderValue;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 创建人ID
     */
    @TableField("create_user_id")
    private String createUserId;

    public String getRoleUserId() {
        return roleUserId;
    }

    public void setRoleUserId(String roleUserId) {
        this.roleUserId = roleUserId;
    }
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public Integer getOrderValue() {
        return orderValue;
    }

    public void setOrderValue(Integer orderValue) {
        this.orderValue = orderValue;
    }
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    @Override
    public String toString() {
        return "BaseRoleUser{" +
        "roleUserId=" + roleUserId +
        ", roleId=" + roleId +
        ", userId=" + userId +
        ", state=" + state +
        ", orderValue=" + orderValue +
        ", createDate=" + createDate +
        ", createUserId=" + createUserId +
        "}";
    }
}
